<?php
class SkypeHelper {
	public static function isOnline($nick = '') {
		$url = 'http://mystatus.skype.com/'.$nick.'.num';
		$num = file_get_contents($url);
		return intval($num) == 2;
	}
}